﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Scoreboard.Model;
using System.ServiceModel.DomainServices.Client;

namespace Scoreboard.Interfaces
{
	public interface IGameRepository
	{
		void AddTournamentResult(User player, User playerMate, User opponent, User opponentMate, double participantScore, double opponentScore, int groupId, Action<InvokeOperation> callback);
		void AddRatingResult(User player, User playerMate, User opponent, User opponentMate, double participantScore, double opponentScore, Action<InvokeOperation> callback);
		void GetRatingGames(Action<LoadOperation<Game>> callback);
	}
}
